package im.vinci.server.device.domain.wrappers;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import im.vinci.server.common.domain.music.MusicSong;

/**
 * Created by mingjie on 17/2/22.
 */
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class MusicPlay {

    /**
     * baseline : 70
     * current : 70
     * duration : 3
     * from : recommend
     * is_online : true
     * is_user_download : 1
     * mid : 1769529110_xiami
     * recommend_list_id : 9677d0f1-daaf-4c2d-a744-f87db9d1778b
     */

    /**
     * 心率基准? 具体含义??
     */
    private int baseline;

    /**
     * 当前心率
     */
    private int current;

    /**
     * 播放时长
     */
    private int duration;

    /**
     * 来源
     */
    private String from;

    /**
     * 是否联网
     */
    private boolean isOnline;
    private int isUserDownload;

    /**
     * music id & type
     */
    private String mid;

    private String recommendListId;

    private MusicSong musicData;

    public int getBaseline() {
        return baseline;
    }

    public void setBaseline(int baseline) {
        this.baseline = baseline;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public boolean isOnline() {
        return isOnline;
    }

    public void setOnline(boolean online) {
        isOnline = online;
    }

    public int getIsUserDownload() {
        return isUserDownload;
    }

    public void setIsUserDownload(int isUserDownload) {
        this.isUserDownload = isUserDownload;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getRecommendListId() {
        return recommendListId;
    }

    public MusicSong getMusicData() {
        return musicData;
    }

    public void setMusicData(MusicSong musicData) {
        this.musicData = musicData;
    }

    public void setRecommendListId(String recommendListId) {
        this.recommendListId = recommendListId;
    }
}
